package com.fast.admin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.ApplicationContext;
import org.springframework.scheduling.annotation.EnableAsync;

@SpringBootApplication
@EnableDiscoveryClient
@MapperScan("com.fast.common.db.mapper")
@EnableFeignClients
@EnableAsync
public class AdminApplication {
    public static void main(String[] args) {
        ApplicationContext run = SpringApplication.run(AdminApplication.class, args);
//        String[] beanNames =  run.getBeanNamesForAnnotation(Configuration.class);
//
//        System.out.println("Repository注解beanNames个数："+beanNames.length);
//
//        for(String bn:beanNames){
//
//            System.out.println(bn);
//
//        }
    }
}
